package com.gaoyi.crm.adapter;

import android.content.Context;

import com.gaoyi.crm.BR;
import com.gaoyi.crm.R;
import com.gaoyi.crm.adapter.base.BaseDtoAdapter;
import com.gaoyi.crm.adapter.base.BaseViewHolder;
import com.gaoyi.crm.databinding.RvSyncedItemNoBinding;
import com.gaoyi.crm.db.dto.SyncedItemDto;

public class SyncedItemNoAdapter extends BaseDtoAdapter<RvSyncedItemNoBinding, SyncedItemDto> {


    public SyncedItemNoAdapter(Context context) {
        super(context);
    }

    @Override
    protected void setBindingVariable(RvSyncedItemNoBinding binding) {
        binding.setVariable(BR.format, "yyyy/MM/dd");
    }

    @Override
    protected void onBindItem(RvSyncedItemNoBinding binding, SyncedItemDto item, int position) {
    }

    @Override
    protected void onCreateView(RvSyncedItemNoBinding binding, BaseViewHolder holder) {

    }

    @Override
    protected int getLayoutResId() {
        return R.layout.rv_synced_item_no;
    }
}
